package com.zeus.gen.generate.model;

import com.zeus.gen.base.model.BaseModel;

/**
 * @author liuwei
 * @date 2018/8/7 11:22
 */
public class Generate extends BaseModel {

    private boolean chkDto = true;
    private boolean chkModel = true;
    private boolean chkMapper = true;
    private boolean chkService = true;
    private boolean chkServiceImpl = true;
    private boolean chkController = true;

    /**
     * 作者
     */
    private String author;

    /**
     * 基础包名
     */
    private String basePackageName;
    /**
     * 包名
     */
    private String packageName;
    /**
     * 模块名
     */
    private String modelName;
    /**
     * 表名
     */
    private String tableName;
    /**
     * 表前缀
     */
    private String tablePrefix;
    /**
     * 数据库表信息
     */
    private DbTable dbTable;

    public String getBasePackageName() {
        return basePackageName;
    }

    public void setBasePackageName(String basePackageName) {
        this.basePackageName = basePackageName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTablePrefix() {
        return tablePrefix;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }

    public DbTable getDbTable() {
        return dbTable;
    }

    public void setDbTable(DbTable dbTable) {
        this.dbTable = dbTable;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public boolean isChkDto() {
        return chkDto;
    }

    public void setChkDto(boolean chkDto) {
        this.chkDto = chkDto;
    }

    public boolean isChkModel() {
        return chkModel;
    }

    public void setChkModel(boolean chkModel) {
        this.chkModel = chkModel;
    }

    public boolean isChkMapper() {
        return chkMapper;
    }

    public void setChkMapper(boolean chkMapper) {
        this.chkMapper = chkMapper;
    }

    public boolean isChkService() {
        return chkService;
    }

    public void setChkService(boolean chkService) {
        this.chkService = chkService;
    }

    public boolean isChkServiceImpl() {
        return chkServiceImpl;
    }

    public void setChkServiceImpl(boolean chkServiceImpl) {
        this.chkServiceImpl = chkServiceImpl;
    }

    public boolean isChkController() {
        return chkController;
    }

    public void setChkController(boolean chkController) {
        this.chkController = chkController;
    }
}
